package com.banmoon.mediator;

import java.util.Arrays;

public class GoodLandlord extends AbstractLandlord{

    public GoodLandlord(String name, Mediator mediator, House... houses) {
        super(name, mediator);
        super.setHouseList(Arrays.asList(houses));
    }

    @Override
    void sendMessage() {
        getMediator().getMessage(this, 1);
    }
}
